package com.example.demo;

import org.junit.Test;

import java.util.Arrays;
import java.util.List;



/**
 * Created by 知鹏 on 2018/7/1.
 */
public class test {


    @Test
    public void testRunnable() {
        List<Integer> costBeforeTax = Arrays.asList(100, 200, 300, 400, 500);

        costBeforeTax.forEach(a -> ff(a));
    }

    public void ff(int a){
        System.out.println(a);
    }
}
